@import "./theme.scss";
body,
div,
a,
ol,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
form,
fieldset,
legend,
input,
textarea,
select {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:focus {
    outline: none;
}

html {
    @media (max-width: $screen-sm) {
        $font-base: 16px;
        font-size: $font-base;
    }
    @media (min-width: $screen-sm) and (max-width:$screen-md) {
        $font-base: 14px;
        font-size: $font-base;
    }
    @media (min-width: $screen-md) and (max-width:$screen-lg) {
        $font-base: 14px;
        font-size: $font-base;
    }
    @media (min-width: $screen-lg) {
        $font-base: 16px;
        font-size: $font-base;
    }
}

body {
    font: "宋体", "Arial Narrow", HELVETICA, 'Avenir', sans-serif;
    width: 100%;
    min-height: 100vh;
    background: #fff;
    color: $gray-dark;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: $gray-base;
    text-decoration: none;
    display: inline-block;
}

a:hover {
    color: $warning;
    text-decoration: none
}

em {
    font-style: normal
}

li {
    list-style: none
}

img {
    border: 0;
    vertical-align: middle
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

p {
    word-wrap: break-word
}

.content-fluit {
    width: 100%;
    height: 100%;
}

.content {
    @media (max-width: $screen-sm) {
        width: 100%;
    }
    @media (min-width: $screen-sm) and (max-width:$screen-md) {
        width: $screen-sm;
    }
    @media (min-width: $screen-md) and (max-width:$screen-lg) {
        width: $screen-md;
    }
    @media (min-width: $screen-lg) {
        width: $screen-lg;
    }
    height: 100%;
}

.content-fluit,
.content {
    min-width: 320px;
    display: flex;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -o-flexbox;
    flex-direction: column;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-basis: auto;
    min-width: 0;
    align-items: center;
    position: relative;
}

.border {
    border-width: 1px;
    border-style: solid; // border-color: $gray; // border: 1px solid seagreen;
}

.border-c-g {
    // border-color: $gray-light;
}

//修改滚动条样式
*::-webkit-scrollbar {
    width: 6px;
    height: 16px;
    background-color: #F5F5F5;
}

*::-webkit-scrollbar-thumb {
    border-radius: 3px; // background-color: $gray-light;
}

*::-webkit-scrollbar-track {
    border-radius: 3px;
    background-color: #F5F5F5;
}

//溢出变点
.word-spot {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

// 按钮样式 
.btn {
    display: inline-block;
    padding: .5em .5em;
    margin-bottom: 0;
    font-size: $font-size;
    font-weight: 400;
    line-height: $font-size;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: .2rem;
}

.btn-primary {
    color: #fff; // background-color: $primary;
    // border-color: $primary;
}

.btn-primary:hover {
    // background-color: darken($primary, 6.5%);
    // border-color: darken($primary, 6.5%);
}

.btn-success {
    color: #fff; // background-color: $success;
    // border-color: $success;
}

.btn-success:hover {
    // background-color: darken($success, 6.5%);
    // border-color: darken($success, 6.5%);
}

.btn-info {
    color: #fff; // background-color: $info;
    // border-color: $info;
}

.btn-info:hover {
    // background-color: darken($info, 6.5%);
    // border-color: darken($info, 6.5%);
}

.btn-warning {
    color: #fff; // background-color: $warning;
    // border-color: $warning;
}

.btn-warning:hover {
    // background-color: darken($warning, 6.5%);
    // border-color: darken($warning, 6.5%);
}

.btn-danger {
    color: #fff; // background-color: $danger;
    // border-color: $danger;
}

.btn-danger:hover {
    // background-color: darken($danger, 6.5%);
    // border-color: darken($danger, 6.5%);
}

.btn-xs {
    padding: .3rem .6rem;
    font-size: $font-size-xs;
    line-height: 1.5;
    border-radius: .2rem;
}

.btn-sm {
    padding: .4rem .7rem;
    font-size: $font-size-sm;
    line-height: 1.5;
    border-radius: .4rem;
}

.btn-md {
    padding: .4rem .7rem;
    font-size: $font-size-md;
    line-height: 1.5;
    border-radius: .5rem;
}

.btn-lg {
    padding: .6rem 2rem;
    font-size: $font-size-lg;
    line-height: 1.3333333;
    border-radius: .6rem;
}

.btn-circle {
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

/* 小屏幕（平板，大于等于 768px） */

@media (max-width: $screen-sm) {
    .hide-sm {
        display: none;
    }
}

/* 中等屏幕（桌面显示器，大于等于 992px） */

@media (min-width: $screen-md) {}

/* 大屏幕（大桌面显示器，大于等于 1200px） */

@media (min-width: $screen-lg) {}